Skip to content

docs(delab): fix 'SubExp' -> 'SubExpr' namespace typo#834

Open
MukundaKatta wants to merge 1 commit intoleanprover:mainfrom
MukundaKatta:codex/fix-delab-subexp-typo
Open

docs(delab): fix 'SubExp' -> 'SubExpr' namespace typo#834
MukundaKatta wants to merge 1 commit intoleanprover:mainfrom
MukundaKatta:codex/fix-delab-subexp-typo

Conversation

@MukundaKatta
Copy link
Copy Markdown

Summary

The delaborators section of the reference manual (Manual/NotationsMacros/Delab.lean, line 285) refers to the namespace `Lean.PrettyPrinter.Delaborator.SubExp`, but that namespace does not exist. The real namespace is `Lean.PrettyPrinter.Delaborator.SubExpr` — the same name that is `open`ed five lines above in the surrounding `leanSection`.

Before:
```
The most important functions for working with subexpressions in delaborators are in the namespace `Lean.PrettyPrinter.Delaborator.SubExp`:
```

After:
```
The most important functions for working with subexpressions in delaborators are in the namespace `Lean.PrettyPrinter.Delaborator.SubExpr`:
```

Closes #828

Testing

Documentation-only one-character change. Verified:

  • Manual/NotationsMacros/Delab.lean:280 already uses SubExpr (the correct namespace)
  • the listed functions (getExpr, withAppFn, withAppArg, withAppFnArgs, withBindingBody) live under Lean.PrettyPrinter.Delaborator.SubExpr

@david-christiansen david-christiansen added the HTML available HTML has been generated for this PR label Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Preview for this PR is ready! 🎉 (also as a proofreading version). built with commit a606c43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HTML available HTML has been generated for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minor typo in delaborator section

2 participants